﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Threading.Tasks;

namespace Demos.Cons
{
    class Program
    {
        static async Task Main(string[] args)
        {
            //同步/异步差异
            //await AsyncRequsetDemo.DoRequest();

            //线程安全/不安全
            ThreadSafeDemo.IncrementMultiThread(true);
            ThreadSafeDemo.IncrementMultiThread(false);
        }
    }
}
